package com.adou.d2;

public class SwitchDemo {
    public static void main(String[] args) {
        String week = "周三";

        switch (week) {
            case "周一":
                System.out.println("今天周一");
                break;
            case "周二":
                System.out.println("今天周二");
                break;
            case "周三":
                System.out.println("今天周三");
                break;
            case "周四":
                System.out.println("今天周四");
                break;
                case "周五":
                System.out.println("今天周五");
                break;
            case "周六":
                System.out.println("今天周六");
                break;
            case "周日":
                System.out.println("今天周日");
                break;
            default:
                System.out.println("星期不存");
                break;


        }



    }
}
